//
//  BKUserInputNumView.h
//  bestkeep
//
//  Created by windCould on 16/11/16.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BKUserInputNumView;

typedef enum{

    HideHeaderLine,
    HideBottomLine,
    HideBottomLineAndBottomLine,
    
}BKUserInputNumViewLineShowType;

typedef enum {

  InputviewUsageTypeAccount,
  InputviewUsageTypeSecreat,
  InputviewUsageTypeOther
}InputviewUsageType;




@protocol BKUserInputNumViewDelegate <NSObject>

@optional
//-(void)bKUserInputNumView:(BKUserInputNumView *)bKUserInputNumView inputTextFieldContent:(NSString *)content;

@optional
-(void)bKUserInputNumView:(BKUserInputNumView *)bKUserInputNumView btnSelect:(BOOL)isSelect;
@end


@interface BKUserInputNumView : UIView

@property (nonatomic,copy)NSString * placeHolderString;
@property (nonatomic,assign)BKUserInputNumViewLineShowType  bordLineShowType;
@property (nonatomic,strong)UITextField * userNumTextField;
@property (nonatomic,assign)InputviewUsageType usageType;
@property (nonatomic,assign)BOOL isSecurity;
@property (nonatomic,assign)UIKeyboardType  keyTpe;
@property (nonatomic,assign)BOOL endEditing;
@property (nonatomic,copy)NSString * contentStr;


@property (nonatomic,weak)id<BKUserInputNumViewDelegate>myDelegate;

-(instancetype)initWithFrame:(CGRect)frame leftIcon:(UIImage *)leftImg rightIcons:(NSArray <UIImage *>*)rightImgs usageType:(InputviewUsageType)usageType;

@end
